package com.ynny.student.lifecycle;

public class Lifecycle {
 private String content;

    public void setContent(String content) {
  this.content = content;
 }

 public void inin() {
  System.out.println("初始化方法");
 }

 public void destroy() {
  System.out.println("销毁方法");
 }
public void print() {
  System.out.println(content);
 }

}
